<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="PasDoc 0.11.0">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Crispy Plotter Documentation: PlotCoordSys: Class TPlotCoordSys</title>
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
<a name="TPlotCoordSys"></a><h1 class="cio">Class TPlotCoordSys</h1>
<table class="sections wide_list">
<tr>
<td><a class="section"  href="#%40Description">Description</a></td><td><a class="section"  href="#%40Hierarchy">Hierarchy</a></td><td><a class="section"  href="#%40Fields">Fields</a></td><td><a class="section"  href="#%40Methods">Methods</a></td><td>Properties</td></tr></table>
<a name="%40Description"></a><h2 class="unit">Unit</h2>
<p class="unitlink">
<a   href="PlotCoordSys.html">PlotCoordSys</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TPlotCoordSys = class(TObject)</code></p>
<h2 class="description">Description</h2>
<a name="%40Hierarchy"></a><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="thisitem">TPlotCoordSys</li></ul><h2 class="overview">Overview</h2>
<a name="%40Fields"></a><h3 class="summary">Fields</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="PlotCoordSys.TPlotCoordSys.html#FPlotter">FPlotter</a></b>: <a   href="FuncPlotter.TFuncPlotter.html">TFuncPlotter</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="PlotCoordSys.TPlotCoordSys.html#FSurface">FSurface</a></b>: <a   href="CustomSurface.TCustomSurface.html">TCustomSurface</a>;</code></td>
</tr>
</table>
<a name="%40Methods"></a><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <b><a   href="PlotCoordSys.TPlotCoordSys.html#GetCurrentLevelCount">GetCurrentLevelCount</a></b>: Integer;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <b><a   href="PlotCoordSys.TPlotCoordSys.html#GetLevelCellSpan">GetLevelCellSpan</a></b>(Index: Integer): <a   href="PlotConst.TFPoint.html">TFPoint</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <b><a   href="PlotCoordSys.TPlotCoordSys.html#DrawGridLayer">DrawGridLayer</a></b>(Index: Integer; ALevelCellSpan: <a   href="PlotConst.TFPoint.html">TFpoint</a>; Color: TColor; GridTL, GridBR: <a   href="PlotConst.TFPoint.html">TFPoint</a>);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <b><a   href="PlotCoordSys.TPlotCoordSys.html#UpdateCorners">UpdateCorners</a></b>(LevelCellSpan: <a   href="PlotConst.TFPoint.html">TFPoint</a>; out GridTopLeft: <a   href="PlotConst.TFPoint.html">TFPoint</a>; out GridBottomRight: <a   href="PlotConst.TFPoint.html">TFPoint</a>);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <b><a   href="PlotCoordSys.TPlotCoordSys.html#AxisDescToStr">AxisDescToStr</a></b>(X: <a   href="ResConst.html#TFloat">TFloat</a>): string;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <b><a   href="PlotCoordSys.TPlotCoordSys.html#Create">Create</a></b>(APlotter: <a   href="FuncPlotter.TFuncPlotter.html">TFuncPlotter</a>; Surface: <a   href="CustomSurface.TCustomSurface.html">TCustomSurface</a>);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="PlotCoordSys.TPlotCoordSys.html#DrawGrid">DrawGrid</a></b>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="PlotCoordSys.TPlotCoordSys.html#DrawAxisDesc">DrawAxisDesc</a></b>;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Fields</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FPlotter"></a><code><b>FPlotter</b>: <a   href="FuncPlotter.TFuncPlotter.html">TFuncPlotter</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Parent plotter instance</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FSurface"></a><code><b>FSurface</b>: <a   href="CustomSurface.TCustomSurface.html">TCustomSurface</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Drawing surface</p>
</td></tr>
</table>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="GetCurrentLevelCount"></a><code>function <b>GetCurrentLevelCount</b>: Integer;</code></td>
</tr>
<tr><td colspan="2">
<p>
Returns the number of grid levels to be drawn. When the plotter view is in preview mode, then only one grid level is drawn.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="GetLevelCellSpan"></a><code>function <b>GetLevelCellSpan</b>(Index: Integer): <a   href="PlotConst.TFPoint.html">TFPoint</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Returns the cell span of a grid level based on the current view scale.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="DrawGridLayer"></a><code>procedure <b>DrawGridLayer</b>(Index: Integer; ALevelCellSpan: <a   href="PlotConst.TFPoint.html">TFpoint</a>; Color: TColor; GridTL, GridBR: <a   href="PlotConst.TFPoint.html">TFPoint</a>);</code></td>
</tr>
<tr><td colspan="2">
<p>
Draws a single grid layer with the specified parameters.  sub grid has an index of 1 and so on.  coordinate units.   in coordinate units.  in coordinate units.  </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Index</dt>
<dd>Grid level. The top grid has an index of 0, the first</dd>
<dt>ALevelCellSpan</dt>
<dd>The X and Y span of a single grid cell in</dd>
<dt>Color</dt>
<dd>Specifies the color of the grid level.</dd>
<dt>GridTL</dt>
<dd>Specifies the top left screen bounds of the grid</dd>
<dt>GridBR</dt>
<dd>Specifies the bottom right screen bounds of the grid</dd>
</dl>
<h6 class="description_section">See also</h6>
<dl class="see_also">
  <dt><a class="normal"  href="PlotCoordSys.TPlotCoordSys.html#GetLevelCellSpan">GetLevelCellSpan</a></dt>
  <dd>Returns the cell span of a grid level based on the current view scale.</dd>
  <dt><a class="normal"  href="PlotCoordSys.TPlotCoordSys.html#UpdateCorners">UpdateCorners</a></dt>
  <dd>Retrieves the top left and bottom right screen bounds in cooridnate units.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="UpdateCorners"></a><code>procedure <b>UpdateCorners</b>(LevelCellSpan: <a   href="PlotConst.TFPoint.html">TFPoint</a>; out GridTopLeft: <a   href="PlotConst.TFPoint.html">TFPoint</a>; out GridBottomRight: <a   href="PlotConst.TFPoint.html">TFPoint</a>);</code></td>
</tr>
<tr><td colspan="2">
<p>
Retrieves the top left and bottom right screen bounds in cooridnate units.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="AxisDescToStr"></a><code>function <b>AxisDescToStr</b>(X: <a   href="ResConst.html#TFloat">TFloat</a>): string;</code></td>
</tr>
<tr><td colspan="2">
<p>
Formats an axis description value as string</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>(APlotter: <a   href="FuncPlotter.TFuncPlotter.html">TFuncPlotter</a>; Surface: <a   href="CustomSurface.TCustomSurface.html">TCustomSurface</a>);</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="DrawGrid"></a><code>procedure <b>DrawGrid</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Draw entire grid including the X and Y axes but without the axes descriptions</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="DrawAxisDesc"></a><code>procedure <b>DrawAxisDesc</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Draw the textual descriptions for the X and Y axes</p>
</td></tr>
</table>
<hr noshade size="1"><span class="appinfo"><em>Generated by <a  target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.11.0</a> on 2009-05-27 22:26:19</em>
</span>
</body></html>
